/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.notice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 梯无忧_消息通知_模板_变量表实体类
 *
 * @author ysq
 * @since 2024-11-20
 */
@Data
@TableName("blade_middle_message_template_variables")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MiddleMessageTemplateVariables对象", description = "梯无忧_消息通知_模板_变量表")
public class MiddleMessageTemplateVariables extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 消息模板id
	 */
	@ApiModelProperty(value = "消息模板id")
	private Long templateId;
	/**
	 * 变量类型：1-标题 2-内容
	 */
	@ApiModelProperty(value = "变量类型：1-标题 2-内容")
	private Integer variableType;
	/**
	 * 变量名，同一行相同变量名
	 */
	@ApiModelProperty(value = "变量名，同一行相同变量名")
	private String variableName;
	/**
	 * 变量值，输入或选择的值
	 */
	@ApiModelProperty(value = "变量值，输入或选择的值")
	private String variableValue;
	/**
	 * 选择列表类型时有，code值，对应变量枚举
	 */
	@ApiModelProperty(value = "选择列表类型时有，code值，对应变量枚举")
	private Integer variableCode;
	/**
	 * 变量输入类型：1-输入框 2-选择
	 */
	@ApiModelProperty(value = "变量输入类型：1-输入框 2-选择")
	private Integer variableInputType;
	/**
	 * 变量行sort，同一行的sort相同
	 */
	@ApiModelProperty(value = "变量行sort，同一行的sort相同")
	private Integer rowSort;
	/**
	 * 横向sort
	 */
	@ApiModelProperty(value = "横向sort")
	private Integer columnSort;

	@ApiModelProperty(value = "描述")
	private String description;


}
